//
//  NetManager.h
//  MapTest
//
//  Created by JCK on 2017/6/1.
//  Copyright © 2017年 JCK. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef enum
{
    RequestOfGetarticlelist = 0,    // 获取内容列表
    RequestOfLogin,                 // 登录
    RequestOfDrivinglocationsave,   // 经纬度上传
    RequestOfGettrucklist,          // 查询车辆信息
    RequestOfGettruckbydriverlist,  // 车主查看车辆信息
    RequestOfUploadimg,             // 上传图片
    RequestOfInitordertrans,        // 关闭鹰眼
    RequestOfUpdatetruckposition,   // 上传位置
    RequestOfUploadUserImg,         // 上传头像
    RequestOfLoginbythird           // 第三方登录
    
}RequestState;
@interface NetManager : NSObject
@property (nonatomic, copy)NSString *userPWD;
@property (nonatomic, copy)NSString *userName;
@property (nonatomic, copy)NSString *userToken;
@property (nonatomic, copy) NSString *UserType;
@property (nonatomic, copy) NSString *UserId;
@property (nonatomic, assign) int IsDriver;

@property (nonatomic, copy) NSString *Latitude;
@property (nonatomic, copy) NSString *Longitude;
@property (nonatomic, copy) NSString *DetailId;
@property (nonatomic, copy) NSString *truckId;
@property (nonatomic, copy) NSString *AttachmentFileSize;
@property (nonatomic, copy) NSString *FileData;
@property (nonatomic, copy) NSString *AccountId;
@property (nonatomic, copy) NSString *NickName;
@property (nonatomic, copy) NSString *HeadPhoto;

@property (nonatomic, copy) NSString *loginbythirdUrl;
@property (nonatomic, copy) NSString *AttachmentUrl;
@property (nonatomic, strong) NSArray *carInfo;

@property (nonatomic, assign)BOOL isExit;
+ (instancetype)shareInstance;
- (void)loadData:(RequestState)requet;

@end
